package com.chezhujie.www.persistence;

import com.chezhujie.www.domain.Czjcommodity3;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* 首页3个商品表
* Created by 汤伟杰 on 2017/5/23.
 */
public interface Czjcommodity3Mapper {
    void insert(Czjcommodity3 czjcommodity3);
    void update(Czjcommodity3 czjcommodity3);
    void deleteById(String id);
    void deleteByIds(List<String> list);
    Czjcommodity3 queryById(String id);
    List<Czjcommodity3> queryByIds(List<String> list);
    int getTotalRows(Map<String, Object> param);
    List<Map<String,Object>> getList(Map<String, Object> param);
    List<Map<String,Object>> listCommodityId(Map<String, Object> param);

    List<Map<String,Object>> getlist3(HashMap<String, Object> stringObjectHashMap);

    void saves(List<Czjcommodity3> listCommodity3);

    List<Map<String,Object>> getListBusinessId(Map<String, Object> param);
	void deleteByCommId(String id);
}
